package com.chenjunlin.app.common.convention.errorcode;

public enum ServiceErrorCode implements IErrorCode{
    LINK_NOT_FOUND("C000001","短链接错误或不存在")

    ;



    private String code;
    private String message;

    ServiceErrorCode(String code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public String code() {
        return code;
    }

    @Override
    public String message() {
        return message;
    }
}
